package com.music.peacerhythms.info;

import androidx.annotation.NonNull;
import androidx.room.ColumnInfo;
import androidx.room.Entity;
import androidx.room.PrimaryKey;

import java.io.Serializable;

@Entity(tableName = "musicdatabase")
public class MusicInfo implements Serializable {
    @PrimaryKey(autoGenerate = true)
    @ColumnInfo(name = "musicid")
    public int musicid;

    @ColumnInfo(name = "imgId")
    public int imgId;
    @ColumnInfo(name = "Brightness")
    public int Brightness;

    @ColumnInfo(name = "rawpath")

    public int rawpath;

    @ColumnInfo(name = "musicname")

    public String musicname;

    @ColumnInfo(name = "configname")

    public String configname;
    @ColumnInfo(name = "filepath")

    public String filepath;
    @ColumnInfo(name = "volume")

    public float volume;
    @ColumnInfo(name = "israw")
    public boolean israw;
    @ColumnInfo(name = "isDownload")

    public boolean isDownload;
    @ColumnInfo(name = "isSelect")

    public boolean isSelect;

    public MusicInfo(int imgId, int rawpath, String musicname, float volume, boolean israw, boolean isDownload, String filepath) {
        this.imgId = imgId;
        this.rawpath = rawpath;
        this.musicname = musicname;
        this.filepath = filepath;
        this.volume = volume;
        this.israw = israw;
        this.isDownload = isDownload;
    }

}
